package com.codeplay.domain.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Entity
@Table(name = "parent_users")
@EqualsAndHashCode(callSuper = true)
public class ParentUser extends BaseUser {
    private String realName;
    private String avatar;
    private String phone;
    private String email;
    private String address;
    private String children; // JSON格式存储关联的儿童ID列表
    private String subscription; // JSON格式存储订阅信息
    private String paymentInfo; // JSON格式存储支付信息
    private String notificationSettings; // JSON格式存储通知设置
    private Boolean isVerified; // 是否实名认证
} 